<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0092)file:///C:/Users/apple/Desktop/%E5%90%8E%E5%8F%B0%E6%A8%A1%E6%9D%BF/mbts_30_Wopop/Wopop.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>登录</title>
    <link href="css/style_log.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="css/style(1).css">
    <link rel="stylesheet" type="text/css" href="css/userpanel.css">
    <link rel="stylesheet" type="text/css" href="css/jquery.ui.all.css">

<style type="text/css">
    .form-signin-heading {
        font-family: Helvetica, Georgia, Arial, sans-serif, 黑体;
        font-size: 36px;
        margin-bottom: 20px;
        color: #0663a2;
        text-align: center;
        font-weight: 700;
    }
</style>

</head>

<body class="login" mycollectionplug="bind">
<div class="login_m">
    <h1 class="form-signin-heading">OTA系统</h1>
    <div class="login_boder">

        <div class="login_padding" id="login_model">

            <h2>用户名</h2>
            <label>
                <input type="text" id="username" class="txt_input txt_input2">
            </label>
            <h2>密码</h2>
            <label>
                <input type="password" name="textfield2" id="userpwd" class="txt_input" style="
    margin-bottom: 30px;
">
            </label>





            <div class="rem_sub">
                <input type="submit" class="sub_button" name="button2" id="button" value="登录" style="opacity:0.85;width: 310px;padding-top: 1px;">
                <div class="rem_sub_l">

                </div>
            </div>
        </div>
        <div id="forget_model" class="login_padding" style="display:none">
            <br>

            <h1>Forgot password</h1>
            <br>
            <div class="forget_model_h2">(Please enter your registered email below and the system will automatically reset users’ password and send it to user’s registered email address.)</div>
            <label>
                <input type="text" id="usrmail" class="txt_input txt_input2">
            </label>


            <div class="rem_sub">
                <div class="rem_sub_l">
                </div>
                <label>
                    <input type="submit" class="sub_buttons" name="button" id="Retrievenow" value="Retrieve now" style="opacity: 0.7;">
                    　　　
                    <input type="submit" class="sub_button" name="button" id="denglou" value="Return" style="opacity: 0.7;">　　

                </label>
            </div>
        </div>






        <!--login_padding  Sign up end--></div>
    <!--login_boder end-->
</div><!--login_m end-->
<br> <br>




</body>
<script src=" https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
<script>
    $(function(){
        $('#button').click(function(){
                window.location.href="main.html";
                top.window.location="main.html";
//            var username = $('#username').val()
//            var userpwd = $('#userpwd').val()
//
//            // $.post('http://cjl3.rokyinfo.net:8010/auth/token ', {'username': username,'userpwd':userpwd}, function(data){// });
//
//            $.ajax({
//
//                url:'http://cjl3.rokyinfo.net:8010/auth/token',
//                type:'POST',
//
//
//                data: JSON.stringify({
//                    phoneNumber: username,
//                    password:userpwd
//
//                }),
//                contentType: "application/json; charset=utf-8",
//                dataType: "json",
//
//                success:function(json){
//                    sessionStorage.token=json.token;
//                    sessionStorage.firmFlag=json.firmFlag;
//                    sessionStorage.name=JSON.stringify(json.firmInfoEntityList)
//                    sessionStorage.flag=json.firmInfoEntityList[0].flag;
//                    sessionStorage.namedes=json.roles[0].name;
//                    window.location.href="./main2.html";
//                    top.window.location="./main2.html";
//
//
//
//                    console.log(json.firmInfoEntityList[0].name)
//                    console.log(json.firmInfoEntityList[0].flag)
//                    console.log(sessionStorage.name)
//                    console.log(sessionStorage.flag)





                })
//                error:function(err){
//                    console.log(err)
//                    alert('用户名或密码错误');
//                }

            });

</script>
</html>